package com.fast.framework.core.request;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fast.framework.core.domain.Role;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

@Getter
@Setter
@ApiModel(value = "用户请求对象", description = "用户请求对象")
public class UserRq extends BaseParam {

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "用户名(账号)")
    private String username;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "最后登录时间 (yyyy-MM-dd)")
    private String lastLoginTime;

    @ApiModelProperty("角色")
    private List<Role> roles;

    @ApiModelProperty("用户唯一标识(缓存存储账号)")
    private String token;

    @ApiModelProperty(value = "开始时间 (yyyy-MM-dd)")
    private String beginTime;

    @ApiModelProperty(value = "结束时间 (yyyy-MM-dd)")
    private String endTime;


}
